//
//  UIImageView+Extension.swift
//  微博
//
//  Created by Mr.Deng on 15/9/23.
//  Copyright © 2015年 Mr.Deng. All rights reserved.
//

import UIKit

extension UIImageView
{
    convenience init(imageName:String){
        self.init(image:(UIImage(named: imageName)))
        sizeToFit()
    }
}
